package com.ibangnuo.manage.dao.employee;

import com.ibangnuo.framework.domain.User;
import com.ibangnuo.framework.domain.request.employee.EmployeeRequest;
import com.ibangnuo.framework.domain.request.employee.SalesmanQueryRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author:ly
 * @Data:2019/12/27 11:44
 * @Verdion:1.0
 */
@Mapper
public interface EmployeeMapper {

    //员工分页查询
    List<Map> queryBy(EmployeeRequest employeeRequest);

    int addEmployees(EmployeeRequest employeeRequest);

    void addUser(EmployeeRequest employeeRequest);

    //根据员工id查询，进行回显
    List<Map> queryById(String id);

    List<Map> findEmployeeWater(SalesmanQueryRequest salesmanQueryRequest);

}
